﻿var button = $("#password-button");
var input = $("#password-input");
$("#password-button,#password-button-open").click(function () {
    console.log(1);
    var password = input.text();
    if (input[0].type == "text") {
        input[0].type = "password";
    } else {
        input[0].type = "text";
    }
    input.text(password);
    button.toggle();
    $("#password-button-open").toggle();
})

